package com.adinnet.api.peaseRule.service;

import com.adinnet.api.peaseRule.model.PeaseRule;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 金豆规则 服务类
 * </p>
 *
 * @author chenjia
 * @since 2020-12-10
 */
public interface PeaseRuleService extends IService<PeaseRule> {

    List<PeaseRule> getAllPeaseRule();


    /**
     *根据唯一编码查询金豆规则
     * @return
     */
    PeaseRule getPeaseRuleByCode(String code);
}
